Skip to main content

task message_count

Command Title

/task message_count

Description

This command allows you to set up a task that rewards users with points for sending a specific number of messages in a certain channel over a specified period. You can create multiple tasks with different reward levels to gamify your Discord server and encourage user engagement.

Usage

/task message_count <reward> <messages> <period> [channel]

Parameters

Required Parameters:

  • <reward>: The value must be a positive integer or 0. Setting 0 disables the reward.
  • <messages>: The value must be a positive integer.
  • <period>: Available options are Daily, Weekly, Monthly, and Lifetime .

Optional Parameters:

  • [channel]: If omitted, all channels are included. If specified, only messages in the selected channel are counted.

Examples

  • Example 1: Set a daily task that rewards users with 10 points for sending 50 messages in all channels:

    /task message_count reward:10 messages:50 period:Daily
  • Example 2: Remove the daily task that rewards users for sending 50 messages in all channels:

    /task message_count reward:0 messages:50 period:Daily
  • Example 3: Set a weekly task that rewards users with 20 points for sending 100 messages in the #general channel.

    /task message_count reward:20 messages:100 period:Weekly channel:#general
  • Example 4: Set a monthly task that rewards users with 50 points for sending 250 messages in all channels:

    /task message_count reward:50 messages:250 period:Monthly
  • Example 5: Set a task that rewards users with 1000 points for sending 5000 messages over the lifetime in all channels:

    /task message_count reward:1000 messages:5000 period:Lifetime

Notes

  • Users can only complete one task of the same type (same reward, message count, and period) per channel per period.
  • Messages sent by bots or users with administrator or moderator permissions do not count towards task completion.
  • The task completion period is determined based on the server's time zone.
  • The reward value must be a non-negative integer.
  • The message count must be a positive integer.
  • The period can be set to Daily, Weekly, Monthly, or All (no time period restriction).
  • If the [channel] parameter is omitted, the task will apply to all channels.
  • Users will receive the reward once they have sent the specified number of messages in the specified channel during the specified period.

FAQs

  • Q: Can I set up multiple message count tasks with different reward values and message requirements?

    A: Yes, you can create multiple message count tasks with varying reward values and message requirements. Each task will be tracked independently.

  • Q: Can I track messages in specific channels only?

    A: Yes, you can specify a channel when creating a task. Only messages sent in that channel will be counted towards task completion.

  • Q: What happens if a user sends more messages than the required count?

    A: Users will only receive the reward once they have sent the specified number of messages. Any additional messages will not count towards the next reward.

  • Q: What happens if a user completes a task before the end of the period?

    A: Once a user meets the message count requirement within the specified period, they will receive the reward and the task will be marked as completed. The task will not reset until the beginning of the next period.